<!doctype html>
<html>
<head>
    <include file="public/head"/>
    <title>ThinkCMF插件 采集插件</title>
    <meta name="description" content="ThinkCMF插件 采集插件">
    <meta name="keywords" content="ThinkCMF插件 采集插件">
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li ><a href="{:url('/plugin/crawler/admin_index/index')}">采集站点</a></li>
        <li class="active"><a>添加站点</a></li>
    </ul>

    <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('/plugin/crawler/admin_index/addPost')}">
       
        <div class="form-group">
            <label for="input-sitename" class="col-sm-2 control-label"><span class="form-required">*</span>站点名</label>
            <div class="col-md-6 col-sm-10">
                <input id="input-sitename" class="form-control" name="sitename"  />
            </div>
        </div>
        <div class="form-group">
            <label for="input-siteurl" class="col-sm-2 control-label"><span class="form-required">*</span>网址</label>
            <div class="col-md-6 col-sm-10">
                <input class="form-control" id="input-siteurl" name="siteurl" />
            </div>
        </div>
        <div class="form-group">
            <label for="input-charset" class="col-sm-2 control-label"><span class="form-required">*</span>字符集</label>
            <div class="col-md-6 col-sm-10">
                <input class="form-control" id="input-charset" name="charset" />
            </div>
        </div>
    
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">                
                <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
                <a class="btn btn-default" href="javascript:history.back(-1);">{:lang('BACK')}</a>
            </div>
        </div>
    </form>
   
</div>
<include file="public/scripts"/>
</body>
</html>